package top.infopub.mgr.ic.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.infopub.generic.GenericDao;
import top.infopub.generic.GenericServiceImpl;
import top.infopub.mgr.ic.dao.ProgramPlanMileDao;
import top.infopub.model.ic.ProgramPlanMile;
import top.infopub.mgr.ic.service.ProgramPlanMileService;
import top.infopub.mgr.ic.vo.ProgramPlanMileVo;

@Service
public class ProgramPlanMileServiceImpl extends GenericServiceImpl<ProgramPlanMile, String> implements
		ProgramPlanMileService {

	@Autowired
	private ProgramPlanMileDao programPlanMileDao;
	
	@Override
	public GenericDao<ProgramPlanMile, String> getDao() {
		return programPlanMileDao;
	}

    @Override
    public List<ProgramPlanMileVo> selectBySubId(String planSubId) {
        return programPlanMileDao.selectBySubId(planSubId);
    }

}